<script type="text/javascript" src="./linq.js"></script>
<script type="text/javascript">
    
    // e807f1fcf82d132f9bb018ca6738a19f
    console.log(md5("1234567890"));
    // 98b1588131431620d54af124f916e082
    console.log(md5("Helo world!!!"));
    // 41d8deef07df352f2e4b0093d00e02a7
    console.log(md5("helo world!!!"));
    // 04798c2eec4a76b4f4a357e1798a1b83
    console.log(md5("This is the test string message for md5 digest..."));
    // 953f1f18b9b34122f58f1c07db95cf0b
    console.log(md5("1 + 1 != 2"));

	var base64 =  {"code":0,"info":{"query":"96.95896@9.9804","reference":"Phosphate","align":"uV9ve50fqdqUCgI4e2OF1URXuaCwZLPx1wjozIpuJq4V4tNV6RTmNUVBhdwPHWuUZJmz3w9yJhAfuN8skif23Ym5yDswlZVqTLwFSBnb7q7giBnoGLKdQdsllhkzkG9O9ILwGi45XNSlwr1SnJMdK9oEcwoWTvG2Uubu5hoApvBbZS1S268d61B1YJo0NjcuNTI0MjkJMC4wMDI1ODkqNzguOTU3ODIJMC4xNjI0NDgqNzkuOTU2MTMJMC4wNjM4NTQqOTUuOTQ4OTMJMC4wMDI0MDEqOTYuOTU4OTIJMQd3bc=="}}
	
	var msg = base64.info.align
	
	// console.log(base64_decode(msg));
	
	console.log("msg length = " + msg.length);
	
	var lzw = LZW.encode(msg);
	
	console.log("after compression = " + lzw.length)
	
	console.log(lzw)
	
	base64 = LZW.decode(lzw)
	
	console.log("restore message");
	
	console.log(base64)
	
	console.log("identical? " + (base64 == msg))
	
</script>